package com.spzx.manager.mapper;

import com.spzx.model.entity.product.ProductDetails;
import org.apache.ibatis.annotations.Mapper;

/**
 * Project: spzx-parent
 * Package: com.spzx.manager.mapper
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/3/5 11:23
 */
@Mapper
public interface ProductDetailsMapper {
    //保存商品详情数据
    void save(ProductDetails productDetails);

    //根据商品的id查询商品详情数据
    ProductDetails selectByProductId(Long id);

    //修改
    void updateById(ProductDetails productDetails);

    //删除
    void deleteByProductId(Long id);
}
